package com.zhiche.lisa.bms.dao.model.pay;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 支付申请明细表-其他扣款
 * </p>
 *
 * @author WangShuiJin
 * @since 2018-09-27
 */
@TableName("lisa_pay_apply_dtl_fund")
public class PayApplyDtlFund extends Model<PayApplyDtlFund> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 主表
     */
	@TableField("head_id")
	private Long headId;
    /**
     * 其他扣款主表id
     */
	@TableField("bil_id")
	private Long bilId;
	/**
	 * 当次补贴金额
	 */
	@TableField("ar_sum")
	private BigDecimal arSum;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getHeadId() {
		return headId;
	}

	public void setHeadId(Long headId) {
		this.headId = headId;
	}

	public Long getBilId() {
		return bilId;
	}

	public void setBilId(Long bilId) {
		this.bilId = bilId;
	}

	public BigDecimal getArSum() {
		return arSum;
	}

	public void setArSum(BigDecimal arSum) {
		this.arSum = arSum;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PayApplyDtlFund{" +
			", id=" + id +
			", headId=" + headId +
			", bilId=" + bilId +
			", arSum=" + arSum +
			"}";
	}
}
